package com.yanqu.road.entity.activity.seacraft.pirateriot;

import java.util.ArrayList;
import java.util.List;

public class SeacraftPirateRiotBattlePatrons {

    private int id;

    // 这些值不会变，需要考虑BUFF和战备等级
    private long hpMax;
    private long mpMax;
    private long atk;

    // 这些会变
    private long hp;
    private long mp;
    private List<SeacraftPirateRiotBuff> buffList = new ArrayList<>();

    public SeacraftPirateRiotBattlePatrons() {
    }

    public static SeacraftPirateRiotBattlePatrons create(int patronsId, long hpMax, long mpMax, long atk, long initMp) {
        SeacraftPirateRiotBattlePatrons data = new SeacraftPirateRiotBattlePatrons();
        data.setId(patronsId);

        data.setHpMax(hpMax);
        data.setMpMax(mpMax);
        data.setAtk(atk);

        data.setHp(hpMax);
        data.setMp(initMp);
        data.setBuffList(new ArrayList<>());
        return data;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getHpMax() {
        return hpMax;
    }

    public void setHpMax(long hpMax) {
        this.hpMax = hpMax;
    }

    public long getMpMax() {
        return mpMax;
    }

    public void setMpMax(long mpMax) {
        this.mpMax = mpMax;
    }

    public long getAtk() {
        return atk;
    }

    public void setAtk(long atk) {
        this.atk = atk;
    }

    public long getHp() {
        return hp;
    }

    public void setHp(long hp) {
        this.hp = hp;
    }

    public long getMp() {
        return mp;
    }

    public void setMp(long mp) {
        this.mp = mp;
    }

    public List<SeacraftPirateRiotBuff> getBuffList() {
        return buffList;
    }

    public void setBuffList(List<SeacraftPirateRiotBuff> buffList) {
        this.buffList = buffList;
    }
}
